//
//  Person.h
//  08-类的扩展
//
//  Created by 曹曹 on 16/7/13.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@protocol TakeCareOfTheBaby <NSObject>
@required
- (void)takeCareOfTheBaby:(NSString *)rewardMoney;
@end

@interface Person : NSObject
@property (nonnull, nonatomic, copy) NSString *name;
@property (null_resettable, nonatomic, copy) NSString *gender;
@property (nonatomic, assign) NSInteger age;
@property (nonatomic, copy) NSString *nativePlace;
@property (nonatomic, weak) id <TakeCareOfTheBaby> delegate;
- (void)hardworking;
- (void)whenparentsLeave;
@end
NS_ASSUME_NONNULL_END